﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.Store
{
    [JsonObject(MemberSerialization.OptIn)]
    public partial class Store_PropertyValue2Product
    {
        //[JsonProperty]
        [Key, Column(Order = 0)]
        [ForeignKey("Store_Product")]
        public int Store_Product_Id { get; set; }
        [Key, Column(Order = 1)]
        [ForeignKey("Store_PropertyValue")]
        public int Store_PropertyValue_Id { get; set; }

        public virtual Store_Product Store_Product { get; set; }

        public virtual Store_PropertyValue Store_PropertyValue { get; set; }


        public int SortOrder { get; set; }
    }
}
